//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//	knl.c
//		Kernel module
//	history -- 01/14/03' created 
//
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#include "sysdef.h"

void vKNL_StateMachine(PWB32_ADAPTER Adapter, const K_TRANS** psStateMachineTable,
                       u16 wStateData, pK_MSG psMsg)
{
	const K_TRANS* psStateTableEntry;
	
	if (wStateData == K_NULL_STATE)
		return;
	psStateTableEntry = psStateMachineTable[wStateData];
	while ((psStateTableEntry->wMsg != K_NULL_MSG) && (psStateTableEntry->wMsg != psMsg->wMsgType))
		psStateTableEntry++;
	if (psStateTableEntry->rActionFunction != K_NULL_ROUTINE)
		(*psStateTableEntry->rActionFunction)(Adapter, psMsg);
}

void vProc_Null(PWB32_ADAPTER Adapter, pK_MSG psMsg)
{
}


